import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { TemplateDrivenComponent } from './forms/template-driven/template-driven.component'
import { GuideComponent } from './guide.component'

const routes: Routes = [
  {
    path: '', component: GuideComponent, children: [
    { path: '', redirectTo: 'template-driven' },
    { path: 'template-driven', component: TemplateDrivenComponent },
  ],
  },
]

@NgModule({
  imports: [ RouterModule.forChild(routes) ],
  exports: [ RouterModule ],
})
export class GuideRoutingModule {
}
